<?php echo $this->Html->css('mail') ?>

<div class="NoticaDestacada ">
    <?php echo $this->Form->create('Order', array('action' => 'send', 'method' => 'post')); ?>
    <table border="0" cellspacing="0" cellpadding="0" style = "width:50%">
        <tr>
            <td colspan="3"><h2><?php echo __('<span>Enviar </span> Orden de Ruta'); ?></h2></td>
        </tr>
        <tr>
            <td><?php echo __('E-mail:'); ?></td>
            <td><?php echo $this->Form->input('Order.email', array('label' => false, 'type' => 'email', 'value' => 'E-Mail de destino')); ?></td>
        </tr>
        <tr>
            <td><?php echo __('Mensaje:'); ?></td>
            <td><?php echo $this->Form->input('Order.message', array('label' => false, 'type' => 'textarea')); ?></td>
        </tr>
        <tr>
            <td></td>
            <td><?php echo $this->Form->input('Enviar', array('label' => false, 'type' => 'submit', 'class' => 'gris enviar', 'div' => false)); ?></td>
            
<!--            hidden id and send to action-->
            <?php echo $this->Form->hidden('id', array('value' => $order['Order']['id'])); ?>
    </table>
    <?php echo $this->Form->end() ?>
</div>

<?php echo $this->element('pdf/pdf', array('order' => $order)) ?>